package com.lilosoft.business.precity.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UpProAcceptUnitExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UpProAcceptUnitExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRowguidIsNull() {
            addCriterion("ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andRowguidIsNotNull() {
            addCriterion("ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andRowguidEqualTo(String value) {
            addCriterion("ROWGUID =", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotEqualTo(String value) {
            addCriterion("ROWGUID <>", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidGreaterThan(String value) {
            addCriterion("ROWGUID >", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("ROWGUID >=", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLessThan(String value) {
            addCriterion("ROWGUID <", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLessThanOrEqualTo(String value) {
            addCriterion("ROWGUID <=", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLike(String value) {
            addCriterion("ROWGUID like", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotLike(String value) {
            addCriterion("ROWGUID not like", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidIn(List<String> values) {
            addCriterion("ROWGUID in", values, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotIn(List<String> values) {
            addCriterion("ROWGUID not in", values, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidBetween(String value1, String value2) {
            addCriterion("ROWGUID between", value1, value2, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotBetween(String value1, String value2) {
            addCriterion("ROWGUID not between", value1, value2, "rowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIsNull() {
            addCriterion("PROJECT_ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIsNotNull() {
            addCriterion("PROJECT_ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID =", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID <>", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidGreaterThan(String value) {
            addCriterion("PROJECT_ROWGUID >", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID >=", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLessThan(String value) {
            addCriterion("PROJECT_ROWGUID <", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID <=", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLike(String value) {
            addCriterion("PROJECT_ROWGUID like", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotLike(String value) {
            addCriterion("PROJECT_ROWGUID not like", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIn(List<String> values) {
            addCriterion("PROJECT_ROWGUID in", values, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotIn(List<String> values) {
            addCriterion("PROJECT_ROWGUID not in", values, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidBetween(String value1, String value2) {
            addCriterion("PROJECT_ROWGUID between", value1, value2, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotBetween(String value1, String value2) {
            addCriterion("PROJECT_ROWGUID not between", value1, value2, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectnoIsNull() {
            addCriterion("PROJECTNO is null");
            return (Criteria) this;
        }

        public Criteria andProjectnoIsNotNull() {
            addCriterion("PROJECTNO is not null");
            return (Criteria) this;
        }

        public Criteria andProjectnoEqualTo(String value) {
            addCriterion("PROJECTNO =", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotEqualTo(String value) {
            addCriterion("PROJECTNO <>", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoGreaterThan(String value) {
            addCriterion("PROJECTNO >", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECTNO >=", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLessThan(String value) {
            addCriterion("PROJECTNO <", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLessThanOrEqualTo(String value) {
            addCriterion("PROJECTNO <=", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLike(String value) {
            addCriterion("PROJECTNO like", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotLike(String value) {
            addCriterion("PROJECTNO not like", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoIn(List<String> values) {
            addCriterion("PROJECTNO in", values, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotIn(List<String> values) {
            addCriterion("PROJECTNO not in", values, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoBetween(String value1, String value2) {
            addCriterion("PROJECTNO between", value1, value2, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotBetween(String value1, String value2) {
            addCriterion("PROJECTNO not between", value1, value2, "projectno");
            return (Criteria) this;
        }

        public Criteria andApplyertypeIsNull() {
            addCriterion("APPLYERTYPE is null");
            return (Criteria) this;
        }

        public Criteria andApplyertypeIsNotNull() {
            addCriterion("APPLYERTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApplyertypeEqualTo(String value) {
            addCriterion("APPLYERTYPE =", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeNotEqualTo(String value) {
            addCriterion("APPLYERTYPE <>", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeGreaterThan(String value) {
            addCriterion("APPLYERTYPE >", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPLYERTYPE >=", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeLessThan(String value) {
            addCriterion("APPLYERTYPE <", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeLessThanOrEqualTo(String value) {
            addCriterion("APPLYERTYPE <=", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeLike(String value) {
            addCriterion("APPLYERTYPE like", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeNotLike(String value) {
            addCriterion("APPLYERTYPE not like", value, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeIn(List<String> values) {
            addCriterion("APPLYERTYPE in", values, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeNotIn(List<String> values) {
            addCriterion("APPLYERTYPE not in", values, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeBetween(String value1, String value2) {
            addCriterion("APPLYERTYPE between", value1, value2, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyertypeNotBetween(String value1, String value2) {
            addCriterion("APPLYERTYPE not between", value1, value2, "applyertype");
            return (Criteria) this;
        }

        public Criteria andApplyernameIsNull() {
            addCriterion("APPLYERNAME is null");
            return (Criteria) this;
        }

        public Criteria andApplyernameIsNotNull() {
            addCriterion("APPLYERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andApplyernameEqualTo(String value) {
            addCriterion("APPLYERNAME =", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameNotEqualTo(String value) {
            addCriterion("APPLYERNAME <>", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameGreaterThan(String value) {
            addCriterion("APPLYERNAME >", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameGreaterThanOrEqualTo(String value) {
            addCriterion("APPLYERNAME >=", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameLessThan(String value) {
            addCriterion("APPLYERNAME <", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameLessThanOrEqualTo(String value) {
            addCriterion("APPLYERNAME <=", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameLike(String value) {
            addCriterion("APPLYERNAME like", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameNotLike(String value) {
            addCriterion("APPLYERNAME not like", value, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameIn(List<String> values) {
            addCriterion("APPLYERNAME in", values, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameNotIn(List<String> values) {
            addCriterion("APPLYERNAME not in", values, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameBetween(String value1, String value2) {
            addCriterion("APPLYERNAME between", value1, value2, "applyername");
            return (Criteria) this;
        }

        public Criteria andApplyernameNotBetween(String value1, String value2) {
            addCriterion("APPLYERNAME not between", value1, value2, "applyername");
            return (Criteria) this;
        }

        public Criteria andLegalIsNull() {
            addCriterion("LEGAL is null");
            return (Criteria) this;
        }

        public Criteria andLegalIsNotNull() {
            addCriterion("LEGAL is not null");
            return (Criteria) this;
        }

        public Criteria andLegalEqualTo(String value) {
            addCriterion("LEGAL =", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalNotEqualTo(String value) {
            addCriterion("LEGAL <>", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalGreaterThan(String value) {
            addCriterion("LEGAL >", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalGreaterThanOrEqualTo(String value) {
            addCriterion("LEGAL >=", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalLessThan(String value) {
            addCriterion("LEGAL <", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalLessThanOrEqualTo(String value) {
            addCriterion("LEGAL <=", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalLike(String value) {
            addCriterion("LEGAL like", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalNotLike(String value) {
            addCriterion("LEGAL not like", value, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalIn(List<String> values) {
            addCriterion("LEGAL in", values, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalNotIn(List<String> values) {
            addCriterion("LEGAL not in", values, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalBetween(String value1, String value2) {
            addCriterion("LEGAL between", value1, value2, "legal");
            return (Criteria) this;
        }

        public Criteria andLegalNotBetween(String value1, String value2) {
            addCriterion("LEGAL not between", value1, value2, "legal");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeIsNull() {
            addCriterion("APPLYERPAGETYPE is null");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeIsNotNull() {
            addCriterion("APPLYERPAGETYPE is not null");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeEqualTo(String value) {
            addCriterion("APPLYERPAGETYPE =", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeNotEqualTo(String value) {
            addCriterion("APPLYERPAGETYPE <>", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeGreaterThan(String value) {
            addCriterion("APPLYERPAGETYPE >", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeGreaterThanOrEqualTo(String value) {
            addCriterion("APPLYERPAGETYPE >=", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeLessThan(String value) {
            addCriterion("APPLYERPAGETYPE <", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeLessThanOrEqualTo(String value) {
            addCriterion("APPLYERPAGETYPE <=", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeLike(String value) {
            addCriterion("APPLYERPAGETYPE like", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeNotLike(String value) {
            addCriterion("APPLYERPAGETYPE not like", value, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeIn(List<String> values) {
            addCriterion("APPLYERPAGETYPE in", values, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeNotIn(List<String> values) {
            addCriterion("APPLYERPAGETYPE not in", values, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeBetween(String value1, String value2) {
            addCriterion("APPLYERPAGETYPE between", value1, value2, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andApplyerpagetypeNotBetween(String value1, String value2) {
            addCriterion("APPLYERPAGETYPE not between", value1, value2, "applyerpagetype");
            return (Criteria) this;
        }

        public Criteria andZipcodeIsNull() {
            addCriterion("ZIPCODE is null");
            return (Criteria) this;
        }

        public Criteria andZipcodeIsNotNull() {
            addCriterion("ZIPCODE is not null");
            return (Criteria) this;
        }

        public Criteria andZipcodeEqualTo(String value) {
            addCriterion("ZIPCODE =", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotEqualTo(String value) {
            addCriterion("ZIPCODE <>", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeGreaterThan(String value) {
            addCriterion("ZIPCODE >", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ZIPCODE >=", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLessThan(String value) {
            addCriterion("ZIPCODE <", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLessThanOrEqualTo(String value) {
            addCriterion("ZIPCODE <=", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeLike(String value) {
            addCriterion("ZIPCODE like", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotLike(String value) {
            addCriterion("ZIPCODE not like", value, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeIn(List<String> values) {
            addCriterion("ZIPCODE in", values, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotIn(List<String> values) {
            addCriterion("ZIPCODE not in", values, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeBetween(String value1, String value2) {
            addCriterion("ZIPCODE between", value1, value2, "zipcode");
            return (Criteria) this;
        }

        public Criteria andZipcodeNotBetween(String value1, String value2) {
            addCriterion("ZIPCODE not between", value1, value2, "zipcode");
            return (Criteria) this;
        }

        public Criteria andContactnameIsNull() {
            addCriterion("CONTACTNAME is null");
            return (Criteria) this;
        }

        public Criteria andContactnameIsNotNull() {
            addCriterion("CONTACTNAME is not null");
            return (Criteria) this;
        }

        public Criteria andContactnameEqualTo(String value) {
            addCriterion("CONTACTNAME =", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameNotEqualTo(String value) {
            addCriterion("CONTACTNAME <>", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameGreaterThan(String value) {
            addCriterion("CONTACTNAME >", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameGreaterThanOrEqualTo(String value) {
            addCriterion("CONTACTNAME >=", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameLessThan(String value) {
            addCriterion("CONTACTNAME <", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameLessThanOrEqualTo(String value) {
            addCriterion("CONTACTNAME <=", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameLike(String value) {
            addCriterion("CONTACTNAME like", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameNotLike(String value) {
            addCriterion("CONTACTNAME not like", value, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameIn(List<String> values) {
            addCriterion("CONTACTNAME in", values, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameNotIn(List<String> values) {
            addCriterion("CONTACTNAME not in", values, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameBetween(String value1, String value2) {
            addCriterion("CONTACTNAME between", value1, value2, "contactname");
            return (Criteria) this;
        }

        public Criteria andContactnameNotBetween(String value1, String value2) {
            addCriterion("CONTACTNAME not between", value1, value2, "contactname");
            return (Criteria) this;
        }

        public Criteria andContacttypeIsNull() {
            addCriterion("CONTACTTYPE is null");
            return (Criteria) this;
        }

        public Criteria andContacttypeIsNotNull() {
            addCriterion("CONTACTTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andContacttypeEqualTo(String value) {
            addCriterion("CONTACTTYPE =", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotEqualTo(String value) {
            addCriterion("CONTACTTYPE <>", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeGreaterThan(String value) {
            addCriterion("CONTACTTYPE >", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeGreaterThanOrEqualTo(String value) {
            addCriterion("CONTACTTYPE >=", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeLessThan(String value) {
            addCriterion("CONTACTTYPE <", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeLessThanOrEqualTo(String value) {
            addCriterion("CONTACTTYPE <=", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeLike(String value) {
            addCriterion("CONTACTTYPE like", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotLike(String value) {
            addCriterion("CONTACTTYPE not like", value, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeIn(List<String> values) {
            addCriterion("CONTACTTYPE in", values, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotIn(List<String> values) {
            addCriterion("CONTACTTYPE not in", values, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeBetween(String value1, String value2) {
            addCriterion("CONTACTTYPE between", value1, value2, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContacttypeNotBetween(String value1, String value2) {
            addCriterion("CONTACTTYPE not between", value1, value2, "contacttype");
            return (Criteria) this;
        }

        public Criteria andContactcodeIsNull() {
            addCriterion("CONTACTCODE is null");
            return (Criteria) this;
        }

        public Criteria andContactcodeIsNotNull() {
            addCriterion("CONTACTCODE is not null");
            return (Criteria) this;
        }

        public Criteria andContactcodeEqualTo(String value) {
            addCriterion("CONTACTCODE =", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeNotEqualTo(String value) {
            addCriterion("CONTACTCODE <>", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeGreaterThan(String value) {
            addCriterion("CONTACTCODE >", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeGreaterThanOrEqualTo(String value) {
            addCriterion("CONTACTCODE >=", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeLessThan(String value) {
            addCriterion("CONTACTCODE <", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeLessThanOrEqualTo(String value) {
            addCriterion("CONTACTCODE <=", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeLike(String value) {
            addCriterion("CONTACTCODE like", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeNotLike(String value) {
            addCriterion("CONTACTCODE not like", value, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeIn(List<String> values) {
            addCriterion("CONTACTCODE in", values, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeNotIn(List<String> values) {
            addCriterion("CONTACTCODE not in", values, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeBetween(String value1, String value2) {
            addCriterion("CONTACTCODE between", value1, value2, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactcodeNotBetween(String value1, String value2) {
            addCriterion("CONTACTCODE not between", value1, value2, "contactcode");
            return (Criteria) this;
        }

        public Criteria andContactmobileIsNull() {
            addCriterion("CONTACTMOBILE is null");
            return (Criteria) this;
        }

        public Criteria andContactmobileIsNotNull() {
            addCriterion("CONTACTMOBILE is not null");
            return (Criteria) this;
        }

        public Criteria andContactmobileEqualTo(String value) {
            addCriterion("CONTACTMOBILE =", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileNotEqualTo(String value) {
            addCriterion("CONTACTMOBILE <>", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileGreaterThan(String value) {
            addCriterion("CONTACTMOBILE >", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileGreaterThanOrEqualTo(String value) {
            addCriterion("CONTACTMOBILE >=", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileLessThan(String value) {
            addCriterion("CONTACTMOBILE <", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileLessThanOrEqualTo(String value) {
            addCriterion("CONTACTMOBILE <=", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileLike(String value) {
            addCriterion("CONTACTMOBILE like", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileNotLike(String value) {
            addCriterion("CONTACTMOBILE not like", value, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileIn(List<String> values) {
            addCriterion("CONTACTMOBILE in", values, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileNotIn(List<String> values) {
            addCriterion("CONTACTMOBILE not in", values, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileBetween(String value1, String value2) {
            addCriterion("CONTACTMOBILE between", value1, value2, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactmobileNotBetween(String value1, String value2) {
            addCriterion("CONTACTMOBILE not between", value1, value2, "contactmobile");
            return (Criteria) this;
        }

        public Criteria andContactTelIsNull() {
            addCriterion("CONTACT_TEL is null");
            return (Criteria) this;
        }

        public Criteria andContactTelIsNotNull() {
            addCriterion("CONTACT_TEL is not null");
            return (Criteria) this;
        }

        public Criteria andContactTelEqualTo(String value) {
            addCriterion("CONTACT_TEL =", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelNotEqualTo(String value) {
            addCriterion("CONTACT_TEL <>", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelGreaterThan(String value) {
            addCriterion("CONTACT_TEL >", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelGreaterThanOrEqualTo(String value) {
            addCriterion("CONTACT_TEL >=", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelLessThan(String value) {
            addCriterion("CONTACT_TEL <", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelLessThanOrEqualTo(String value) {
            addCriterion("CONTACT_TEL <=", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelLike(String value) {
            addCriterion("CONTACT_TEL like", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelNotLike(String value) {
            addCriterion("CONTACT_TEL not like", value, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelIn(List<String> values) {
            addCriterion("CONTACT_TEL in", values, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelNotIn(List<String> values) {
            addCriterion("CONTACT_TEL not in", values, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelBetween(String value1, String value2) {
            addCriterion("CONTACT_TEL between", value1, value2, "contactTel");
            return (Criteria) this;
        }

        public Criteria andContactTelNotBetween(String value1, String value2) {
            addCriterion("CONTACT_TEL not between", value1, value2, "contactTel");
            return (Criteria) this;
        }

        public Criteria andCheckStateIsNull() {
            addCriterion("CHECK_STATE is null");
            return (Criteria) this;
        }

        public Criteria andCheckStateIsNotNull() {
            addCriterion("CHECK_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStateEqualTo(Integer value) {
            addCriterion("CHECK_STATE =", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotEqualTo(Integer value) {
            addCriterion("CHECK_STATE <>", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateGreaterThan(Integer value) {
            addCriterion("CHECK_STATE >", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_STATE >=", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateLessThan(Integer value) {
            addCriterion("CHECK_STATE <", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_STATE <=", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateIn(List<Integer> values) {
            addCriterion("CHECK_STATE in", values, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotIn(List<Integer> values) {
            addCriterion("CHECK_STATE not in", values, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_STATE between", value1, value2, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_STATE not between", value1, value2, "checkState");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIsNull() {
            addCriterion("CD_UPTIME is null");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIsNotNull() {
            addCriterion("CD_UPTIME is not null");
            return (Criteria) this;
        }

        public Criteria andCdUptimeEqualTo(Date value) {
            addCriterion("CD_UPTIME =", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotEqualTo(Date value) {
            addCriterion("CD_UPTIME <>", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeGreaterThan(Date value) {
            addCriterion("CD_UPTIME >", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CD_UPTIME >=", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeLessThan(Date value) {
            addCriterion("CD_UPTIME <", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeLessThanOrEqualTo(Date value) {
            addCriterion("CD_UPTIME <=", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIn(List<Date> values) {
            addCriterion("CD_UPTIME in", values, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotIn(List<Date> values) {
            addCriterion("CD_UPTIME not in", values, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeBetween(Date value1, Date value2) {
            addCriterion("CD_UPTIME between", value1, value2, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotBetween(Date value1, Date value2) {
            addCriterion("CD_UPTIME not between", value1, value2, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNull() {
            addCriterion("DEL_STATE is null");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNotNull() {
            addCriterion("DEL_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andDelStateEqualTo(Integer value) {
            addCriterion("DEL_STATE =", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotEqualTo(Integer value) {
            addCriterion("DEL_STATE <>", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThan(Integer value) {
            addCriterion("DEL_STATE >", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("DEL_STATE >=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThan(Integer value) {
            addCriterion("DEL_STATE <", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThanOrEqualTo(Integer value) {
            addCriterion("DEL_STATE <=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateIn(List<Integer> values) {
            addCriterion("DEL_STATE in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotIn(List<Integer> values) {
            addCriterion("DEL_STATE not in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateBetween(Integer value1, Integer value2) {
            addCriterion("DEL_STATE between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotBetween(Integer value1, Integer value2) {
            addCriterion("DEL_STATE not between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andSyncSignIsNull() {
            addCriterion("SYNC_SIGN is null");
            return (Criteria) this;
        }

        public Criteria andSyncSignIsNotNull() {
            addCriterion("SYNC_SIGN is not null");
            return (Criteria) this;
        }

        public Criteria andSyncSignEqualTo(Integer value) {
            addCriterion("SYNC_SIGN =", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotEqualTo(Integer value) {
            addCriterion("SYNC_SIGN <>", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignGreaterThan(Integer value) {
            addCriterion("SYNC_SIGN >", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignGreaterThanOrEqualTo(Integer value) {
            addCriterion("SYNC_SIGN >=", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignLessThan(Integer value) {
            addCriterion("SYNC_SIGN <", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignLessThanOrEqualTo(Integer value) {
            addCriterion("SYNC_SIGN <=", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignIn(List<Integer> values) {
            addCriterion("SYNC_SIGN in", values, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotIn(List<Integer> values) {
            addCriterion("SYNC_SIGN not in", values, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignBetween(Integer value1, Integer value2) {
            addCriterion("SYNC_SIGN between", value1, value2, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotBetween(Integer value1, Integer value2) {
            addCriterion("SYNC_SIGN not between", value1, value2, "syncSign");
            return (Criteria) this;
        }

        public Criteria andCdTimeIsNull() {
            addCriterion("CD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCdTimeIsNotNull() {
            addCriterion("CD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCdTimeEqualTo(Date value) {
            addCriterion("CD_TIME =", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotEqualTo(Date value) {
            addCriterion("CD_TIME <>", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeGreaterThan(Date value) {
            addCriterion("CD_TIME >", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CD_TIME >=", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeLessThan(Date value) {
            addCriterion("CD_TIME <", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeLessThanOrEqualTo(Date value) {
            addCriterion("CD_TIME <=", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeIn(List<Date> values) {
            addCriterion("CD_TIME in", values, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotIn(List<Date> values) {
            addCriterion("CD_TIME not in", values, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeBetween(Date value1, Date value2) {
            addCriterion("CD_TIME between", value1, value2, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotBetween(Date value1, Date value2) {
            addCriterion("CD_TIME not between", value1, value2, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdBatchIsNull() {
            addCriterion("CD_BATCH is null");
            return (Criteria) this;
        }

        public Criteria andCdBatchIsNotNull() {
            addCriterion("CD_BATCH is not null");
            return (Criteria) this;
        }

        public Criteria andCdBatchEqualTo(String value) {
            addCriterion("CD_BATCH =", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotEqualTo(String value) {
            addCriterion("CD_BATCH <>", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchGreaterThan(String value) {
            addCriterion("CD_BATCH >", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchGreaterThanOrEqualTo(String value) {
            addCriterion("CD_BATCH >=", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLessThan(String value) {
            addCriterion("CD_BATCH <", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLessThanOrEqualTo(String value) {
            addCriterion("CD_BATCH <=", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLike(String value) {
            addCriterion("CD_BATCH like", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotLike(String value) {
            addCriterion("CD_BATCH not like", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchIn(List<String> values) {
            addCriterion("CD_BATCH in", values, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotIn(List<String> values) {
            addCriterion("CD_BATCH not in", values, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchBetween(String value1, String value2) {
            addCriterion("CD_BATCH between", value1, value2, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotBetween(String value1, String value2) {
            addCriterion("CD_BATCH not between", value1, value2, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNull() {
            addCriterion("DATASOURCE is null");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNotNull() {
            addCriterion("DATASOURCE is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourceEqualTo(String value) {
            addCriterion("DATASOURCE =", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotEqualTo(String value) {
            addCriterion("DATASOURCE <>", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThan(String value) {
            addCriterion("DATASOURCE >", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThanOrEqualTo(String value) {
            addCriterion("DATASOURCE >=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThan(String value) {
            addCriterion("DATASOURCE <", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThanOrEqualTo(String value) {
            addCriterion("DATASOURCE <=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLike(String value) {
            addCriterion("DATASOURCE like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotLike(String value) {
            addCriterion("DATASOURCE not like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceIn(List<String> values) {
            addCriterion("DATASOURCE in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotIn(List<String> values) {
            addCriterion("DATASOURCE not in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceBetween(String value1, String value2) {
            addCriterion("DATASOURCE between", value1, value2, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotBetween(String value1, String value2) {
            addCriterion("DATASOURCE not between", value1, value2, "datasource");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}